package org.jsola.hr.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.query.BaseQuery;
import org.jsola.hr.dto.TransferAccountsBatchAddDTO;
import org.jsola.hr.vo.TransferBuildDetailAddVO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 构造批次明细新增的 Query
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TransferBuildDetailQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "新建批次的相关信息")
    @NotNull
    @Valid
    private TransferAccountsBatchAddDTO transferAccountsBatchAddDTO;

    @ApiModelProperty(notes = "类型： 1：支付宝  2：微信  3:银行卡")
    @NotNull
    private Integer type;

    @ApiModelProperty(notes = "批次id")
    private String batchId;

    @ApiModelProperty(notes = "批次转账人员信息")
    private List<TransferBuildDetailAddVO> transferBuildDetailAddVOList;

}

